﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>来加健康服务网</title>
<meta name="Keywords" content="石家庄团体体检,石家庄体检团购平台">
<meta name="Description" content="来加健康服务网-石家庄体检团购平台为您提供石家庄体检团购、石家庄体检团购优惠信息。您不仅可以享受到石家庄地区最低折扣的体检团购优惠、还能比较该地区多个体检机构的团购信息，是您团购体检的首选专业网站。">
<meta name="applicable-device"content="mobile">
<meta name="location" content="province=河北;city=石家庄">
<!-- 移动设备支持 -->
    <script src="../Scripts/jquery-1.8.3.min.js"></script>
    <script>

        //定义一个全局变量
        var a = "";

        $(function () {

        //为全局变量a默认赋值为1
            a = 1;
            //接收页面传值id
            var uri = document.documentURI;
            var i = uri.lastIndexOf("?") + 1;
            var eid = uri.substr(i);
            //根据id获取套餐
            $.ajax({
                type: "get",
                url: "/combo2/GetId",
                data: {
                    "eid": eid
                },
                success: function (d) {

                    $(d).each(function (i, obj) {
                        var tr = "<a class='tc_box' href='tj_list_details.html?" + obj.Id + "'><img class='img' src='" + obj.PicUrl + "'><div class='info'><h3>" + obj.Name + "</h3><div class='tc_pic'><span class='pic'>¥" + obj.Price + "</span><del>原价:" + obj.Oldprice + "</del><em>" + obj.Sonnum + "人预约</em></div></div></a>";
                        $("#taocan").append(tr);
                        $(".spinner").css("display","none")
                    })
                }
            })
        })
        //点击默认
        function dft()
        {
            //为全局变量a赋值
            a = 1;
            //接收页面传值id
            var uri = document.documentURI;
            var i = uri.lastIndexOf("?") + 1;
            var eid = uri.substr(i);

                $("#taocan").empty();
                $.ajax({
                    type: "get",
                    url: "/combo2/GetId",
                    data: {
                        "eid": eid
                    },
                    success: function (d) {

                        $(d).each(function (i, obj) {
                            var tr = "<a class='tc_box' href='tj_list_details.html?" + obj.Id + "'><img class='img' src='" + obj.PicUrl + "'><div class='info'><h3>" + obj.Name + "</h3><div class='tc_pic'><span class='pic'>¥" + obj.Price + "</span><del>原价:" + obj.Oldprice + "</del><em>" + obj.Sonnum + "人预约</em></div></div></a>";
                            $("#taocan").append(tr);
                            $(".jiazai_btn1").css("display", "block")
                        })
                    }
                })
          
        }
        //点击价格
        function pri()
        {

            //为全局变量a赋值
            a = 2;
            //接收页面传值id
            var uri = document.documentURI;
            var i = uri.lastIndexOf("?") + 1;
            var eid = uri.substr(i);
            $("#taocan").empty();
            $.ajax({
                type: "get",
                url: "/combo2/Nprice",
                data: {
                    "eid": eid
                },
                success: function (d) {
                    $(d).each(function (i, obj) {
                        var tr = "<a class='tc_box' href='tj_list_details.html?" + obj.Id + "'><img class='img' src='" + obj.PicUrl + "'><div class='info'><h3>" + obj.Name + "</h3><div class='tc_pic'><span class='pic'>¥" + obj.Price + "</span><del>原价:" + obj.Oldprice + "</del><em>" + obj.Sonnum + "人预约</em></div></div></a>";
                        $("#taocan").append(tr);
                        $(".jiazai_btn1").css("display", "block")
                    })
                }
            })
        }
        //点击销量
        function sal()
        {

            //为全局变量a赋值
            a = 3;
            //接收页面传值id
            var uri = document.documentURI;
            var i = uri.lastIndexOf("?") + 1;
            var eid = uri.substr(i);
            $("#taocan").empty();
            $.ajax({
                type: "get",
                url: "/combo2/Nsal",
                data: {
                    "eid": eid
                },
                success: function (d) {
                    $(d).each(function (i, obj) {
                        var tr = "<a class='tc_box' href='tj_list_details.html?" + obj.Id + "'><img class='img' src='" + obj.PicUrl + "'><div class='info'><h3>" + obj.Name + "</h3><div class='tc_pic'><span class='pic'>¥" + obj.Price + "</span><del>原价:" + obj.Oldprice + "</del><em>" + obj.Sonnum + "人预约</em></div></div></a>";
                        $("#taocan").append(tr);
                        $(".jiazai_btn1").css("display", "block")
                    })
                }
            })
        }

        //点击加载全部
        function Idall()
        {
            //接收页面传值id
            var uri = document.documentURI;
            var i = uri.lastIndexOf("?") + 1;
            var eid = uri.substr(i);
            $("#taocan").empty();

            if(a==1)
            {
                //显示默认全部信息
                $.ajax({
                    type: "get",
                    url: "/combo2/GetIdALL",
                    data: {
                        "eid": eid
                    },
                    success: function (d) {
                        $(d).each(function (i, obj) {
                            var tr = "<a class='tc_box' href='tj_list_details.html?" + obj.Id + "'><img class='img' src='" + obj.PicUrl + "'><div class='info'><h3>" + obj.Name + "</h3><div class='tc_pic'><span class='pic'>¥" + obj.Price + "</span><del>原价:" + obj.Oldprice + "</del><em>" + obj.Sonnum + "人预约</em></div></div></a>";
                            $("#taocan").append(tr);
                            $(".jiazai_btn1").css("display", "none")
                            $(".spinner").css("display", "none")
                        })
                    }
                })
            }
            else if(a==2)
            {
                //显示按价格排序的全部信息
                $.ajax({
                    type: "get",
                    url: "/combo2/price",
                    data: {
                        "eid": eid
                    },
                    success: function (d) {
                        $(d).each(function (i, obj) {
                            var tr = "<a class='tc_box' href='tj_list_details.html?" + obj.Id + "'><img class='img' src='" + obj.PicUrl + "'><div class='info'><h3>" + obj.Name + "</h3><div class='tc_pic'><span class='pic'>¥" + obj.Price + "</span><del>原价:" + obj.Oldprice + "</del><em>" + obj.Sonnum + "人预约</em></div></div></a>";
                            $("#taocan").append(tr);
                            $(".jiazai_btn1").css("display", "none")
                            $(".spinner").css("display", "none")
                        })
                    }
                })
            }
            else
            {
                //显示按销量排序的全部信息
                $.ajax({
                    type: "get",
                    url: "/combo2/sal",
                    data: {
                        "eid": eid
                    },
                    success: function (d) {
                        $(d).each(function (i, obj) {
                            var tr = "<a class='tc_box' href='tj_list_details.html?" + obj.Id + "'><img class='img' src='" + obj.PicUrl + "'><div class='info'><h3>" + obj.Name + "</h3><div class='tc_pic'><span class='pic'>¥" + obj.Price + "</span><del>原价:" + obj.Oldprice + "</del><em>" + obj.Sonnum + "人预约</em></div></div></a>";
                            $("#taocan").append(tr);
                            $(".jiazai_btn1").css("display", "none")
                            $(".spinner").css("display", "none")
                        })
                    }
                })
            }
           
        }

       

    </script>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">
<meta content="0" http-equiv="expires">
<meta content="telephone=no, address=no" name="format-detection">
<!--<meta name="apple-mobile-web-app-capable" content="yes"> -->
<!--<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">-->
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <!--<meta name="x5-fullscreen" content="true">-->

<link href="Public/mobile/css/common.css?64" rel="stylesheet" type="text/css">
<link href="Public/mobile/css/new.css?65" rel="stylesheet" type="text/css">
<link href="Public/mobile/js/layer/need/layer.css" rel="stylesheet" type="text/css">
<link href="Public/mobile/js/layerModel/layerModel.css" rel="stylesheet" type="text/css">

    <style type="text/css">
        .hosp_m p{text-align: left}
    </style> 
   
</head>

<body>
<header class="header">
  	<a class="fh_btn" href="javascript:;"></a>
	  <h2>每周特惠</h2>
                <a class="hom_icon" href="Index.html"></a>
        </header>
<div style="height:50px"></div>
    <!--<a href="javascript:void(0);" onclick="default()">默认</a>-->
    <ul class="ord_tab">
        <li data-order="" class="item cur" style="cursor:pointer;"><a href="javascript:void(0);" onclick="dft()">默认</a></li>
        <li data-order="1asc" class="item " style="cursor:pointer;"><a href="javascript:void(0);" onclick="pri()">价格</a>
        </li><li data-order="2asc" class="item " style="cursor:pointer;"><a href="javascript:void(0);" onclick="sal()">销量</a></li>    </ul>
    <div class="clear"></div>
    <div class="tc_list">
        <div  id="taocan"></div>

        <script type="text/javascript">
    //该段代码在AJAX下是无效的
    page_infos={PageSize:10, CurPageIndex: 1, PageCount: 1, RowCount: 9};
</script>
       <div class="jiazai_btn1" id="load_more_combos"><a href="javascript:void(0);" onclick="Idall()">加载全部</a>
    <div class="spinner">
        <div class="spinner-container container1">
            <div class="circle1"></div>
            <div class="circle2"></div>
            <div class="circle3"></div>
            <div class="circle4"></div>
        </div>
        <div class="spinner-container container2">
            <div class="circle1"></div>
            <div class="circle2"></div>
            <div class="circle3"></div>
            <div class="circle4"></div>
        </div>
        <div class="spinner-container container3">
            <div class="circle1"></div>
            <div class="circle2"></div>
            <div class="circle3"></div>
            <div class="circle4"></div>
        </div>
    </div>
</div>   
 </div>
<div class="clear"></div>

<div id="footer" style="width: 100%;max-width: 640px;">


<div style="height:70px;"></div>
<div class="clear"></div>
  <ul class="foot-list">
    <li style="width: 25%;"><a href="Index.html"><img src="Public/mobile/images/n_6.png"><p>首页</p></a></li>
    <li style="width: 25%;" ><a onclick="qimoChatClick();"><img src="Public/mobile/images/n_7.png"><p>咨询</p></a></li>
    <li style="width: 25%;"><a href="find_health.html"><img src="Public/mobile/images/n_8.png"><p>发现</p></a></li>
    <li style="width: 25%;" ><a href="personal.html"><img src="Public/mobile/images/n_9.png"><p>我的</p></a></li>
  </ul>

</div>
<script type="text/javascript">
  // 定义一些常量
  var __appId = "";			        // 必填，公众号的唯一标识
  var __timestamp = ""; 	// 必填，生成签名的时间戳
  var __nonceStr = ""; 		// 必填，生成签名的随机串
  var __signature = "";	// 必填，签名，见附录1
  var __public='/Public';
  var __baiduak="FE5a0df097aaacb5b50fe2c75fd2de0f";
  var __refererType__="normal";
  var __indexUrl__="/";//默认的首页地址,即当返回到顶层时的地址
</script>
<script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
<!-- <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> -->
<script type="text/javascript" src="Public/mobile/js/My97DatePicker/WdatePicker.js"></script> 
<script type="text/javascript" src="Public/mobile/js/layer/layer.js"></script> 
<script type="text/javascript" src="Public/mobile/js/layerModel/jquery.layerModel.js"></script> 
<script type="text/javascript" src="Public/mobile/js/jquery.scrollLoading.js"></script>
<script type="text/javascript" src="Public/mobile/js/jquery.cookie.js"></script>
<script type="text/javascript">
    if(__refererType__=="weixin"){
        document.write('<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"><\/script>');
    }
</script>
<script type="text/javascript" src="Public/mobile/js/common.js?72"></script>

    <script type="text/javascript" src="Public/mobile/js/stickUp.js"></script>
    <script type="text/javascript" >
        $(function(){
            $("#load_more_combos").autoload({
                pageInfo:page_infos,
                url:"",
                selector:".tc_box"
            });
            $(".ord_tab li").on("click", function (e) {
                e.preventDefault();
                var sender = $(this);
                var orderby = sender.attr("data-order");
                var href = location.href;
                if (href.indexOf("?") > 0) {
                    location.href = href.substring(0, href.indexOf("?")  ) + "?ob=" + orderby;
                } else
                    location.href = href + "?ob=" + orderby;
            });
        })
    </script>
<script type="text/javascript">
    //解析事sem推广
    var hash=location.hash;
    var reg=new RegExp("sem_(bd|360|sg|jt|sm)_(.*)?");
    if(reg.test(hash)){
        var matchs=reg.exec(hash);
        $.get("/Sem/submit",{channel:matchs[1],keys:matchs[2]},function(){
        });
    }
</script>
<div style="display:none">
    <!--统计代码-->
    <img src="http://c.cnzz.com/wapstat.php?siteid=1253083248&r=http%3A%2F%2Fm.viptijian.com%2F0591&rnd=1210090193" width="0" height="0"/>    <!--百度统计代码-->
        <img src="http://hm.baidu.com/hm.gif?si=e23220b7e728f5512d935dd4b95e539d&amp;et=0&amp;nv=0&amp;st=4&amp;lt=1476851207&amp;su=http%3A%2F%2Fm.viptijian.com%2F0591&amp;v=wap-0-0.2&amp;rnd=6499391481" width="0" height="0" />
</div>
<script type="text/javascript">
    // 新的百度统计代码
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?da5f5c0399ed040f41e88552ab48d766";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<!--腾讯统计代码-->
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=58654145" charset="UTF-8"></script>

<!-- 第三方客服调用 -->
    <script type='text/javascript' src='//webchat.7moor.com/javascripts/7moorInit.js?accessId=40c7b5a0-5711-11e7-8ece-f731cb02a380&autoShow=false' async='async'></script>
</body>
</html>